package com.besidewallpaper.user.service;

import com.besidewallpaper.user.dto.EmployeeDTO ;
import com.besidewallpaper.user.dto.EmployeeLoginDTO ;
import com.besidewallpaper.user.entity.Employee ;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);


    void save(EmployeeDTO employeeDTO);

    //启用禁用员工账号
    void startOrStop(Integer status, Long id);

    Employee getById(Long id);

    void update(EmployeeDTO employeeDTO);
}
